package com.gzyz.cheetah.config;

import com.gzyz.cheetah.enums.systemconfig.admin.AllowDelete;
import com.gzyz.cheetah.enums.systemconfig.admin.AllowRegister;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 管理员相关配置
 *
 * @author xclhove
 */
@Component
@ConfigurationProperties(prefix = "cheetah.admin")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdminConfig {
    private AllowRegister allowRegister;
    private AllowDelete allowDelete;
}
